//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-01A
TN_Widget.CreateTable([['WNBA Preseason: Las Vegas Aces vs. Puerto Rico','Colonial Life Arena','Columbia, SC','Saturday','5/11/2024','1:00 PM','6298520','WNBA-Preseason--Las-Vegas-Aces-vs--Puerto-Rico-5-11-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Thursday','5/16/2024','7:00 PM','5979702','Disney-On-Ice--Magic-In-The-Stars-5-16-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Friday','5/17/2024','7:00 PM','5979703','Disney-On-Ice--Magic-In-The-Stars-5-17-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Saturday','5/18/2024','11:00 AM','5979222','Disney-On-Ice--Magic-In-The-Stars-5-18-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Saturday','5/18/2024','3:00 PM','5979223','Disney-On-Ice--Magic-In-The-Stars-5-18-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Saturday','5/18/2024','7:00 PM','5978552','Disney-On-Ice--Magic-In-The-Stars-5-18-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Sunday','5/19/2024','1:00 PM','5979224','Disney-On-Ice--Magic-In-The-Stars-5-19-2024'],['Disney On Ice: Magic In The Stars','Colonial Life Arena','Columbia, SC','Sunday','5/19/2024','5:00 PM','5979704','Disney-On-Ice--Magic-In-The-Stars-5-19-2024'],['Justin Timberlake','Colonial Life Arena','Columbia, SC','Saturday','6/8/2024','7:30 PM','6396917','Justin-Timberlake-6-8-2024'],['Hootie and The Blowfish','Colonial Life Arena','Columbia, SC','Thursday','8/29/2024','7:00 PM','6062249','Hootie-and-The-Blowfish-8-29-2024'],['Hootie and The Blowfish','Colonial Life Arena','Columbia, SC','Friday','8/30/2024','7:00 PM','6074115','Hootie-and-The-Blowfish-8-30-2024'],['Koe Wetzel','Colonial Life Arena','Columbia, SC','Friday','9/6/2024','7:00 PM','6353701','Koe-Wetzel-9-6-2024'],['Tamia & Joe','Colonial Life Arena','Columbia, SC','Friday','10/4/2024','8:00 PM','6369591','Tamia---Joe-10-4-2024'],['Casting Crowns ','Colonial Life Arena','Columbia, SC','Thursday','10/24/2024','7:00 PM','6370470','Casting-Crowns--10-24-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Colonial Life Arena','Columbia, SC','Saturday','10/26/2024','12:30 PM','6373078','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-26-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Colonial Life Arena','Columbia, SC','Saturday','10/26/2024','7:30 PM','6373077','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-26-2024'],['Hot Wheels Monster Trucks Live - Glow Party','Colonial Life Arena','Columbia, SC','Sunday','10/27/2024','2:30 PM','6373108','Hot-Wheels-Monster-Trucks-Live---Glow-Party-10-27-2024'],['Pink & KidCutUp','Colonial Life Arena','Columbia, SC','Wednesday','11/20/2024','7:30 PM','6227331','Pink---KidCutUp-11-20-2024']],'Colonial Life Arena','http://www.ticketnetwork.com/ticket/Colonial-Life-Arena-events.aspx');